CygNet Studio > Using CygNet Studio Tools and Controls > Group Tree Control > Properties, Events, and Methods > Methods

Group Tree Control - Methods

The following table lists and describes methods of the Group Tree Control. Methods are accessed using the control's script editor. See CxGrpTree Methods for more information about using these methods in script.

Method Description

AboutBox

The AboutBox method displays an About dialog box for the control.

Collapse

The Collapse method collapse the current node.

Expand

The Expand method expands the current node.

GetSelectedNodeAttrValue

The GetSelectedNodeAttrValue method returns the attribute value of the selected node for the specified level. The AttributeId parameter can be a string or a number.

GetSelectedNodeChildCount

The GetSelectedNodeChildCount method returns the number of children for the selected node.

JumpToChild

The JumptoChild method sets the target node to a child of the current node that matches the criteria.

Refresh

The Refresh method refreshes the contents of the control from the Current Value Service (CVS).

SetTargetNode

The SetTargetNode method sets the target node that matches the criteria.


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.